package per.mnxc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author mnxc
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_growthrecord")
public class Growthrecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 成长记录id
     */
    @TableId(value = "GRID", type = IdType.ASSIGN_ID)
    private Long grid;

    /**
     * 记录时间
     */
    @TableField("RecordTime")
    private LocalDateTime recordTime;

    /**
     * 记录内容
     */
    @TableField("RecordCont")
    private String recordCont;

    /**
     * 记录植物名称
     */
    @TableField("RecordTotancyName")
    private String recordTotancyName;

    /**
     * 用户id
     */
    @TableField("UserID")
    private Long userid;

    @TableLogic
    private Integer deleted;

    @Version
    private Integer version;


}
